import request from "@/utils/request";

// student
// student
// student
export function countStudent(conditionsVO) {
    return request({
        url: '/admin/count-student',
        method: 'post',
        data: conditionsVO
    })
}

export function acquireStudentInformation(conditionsVO) {
    return request({
        url: '/admin/acquire-student-information',
        method: 'post',
        data: conditionsVO
    })
}

export function getStudentInformation(userId) {
    return request({
        url: '/admin/get-student-information/' + userId,
        method: 'get'
    })
}

// count
// count
// count
export function countPaper(conditions) {
    return request({
        url: '/admin/count-paper',
        method: 'post',
        data: conditions
    })
}


export function countPatent(conditions) {
    return request({
        url: '/admin/count-patent',
        method: 'post',
        data: conditions
    })
}

export function countCompetition(conditions) {
    return request({
        url: '/admin/count-competition',
        method: 'post',
        data: conditions
    })
}

export function countSoftwareCopyright(conditions) {
    return request({
        url: '/admin/count-software-copyright',
        method: 'post',
        data: conditions
    })
}

export function countOther(conditions) {
    return request({
        url: '/admin/count-other',
        method: 'post',
        data: conditions
    })
}

// acquire
// acquire
// acquire
export function acquirePaper(conditions) {
    return request({
        url: '/admin/acquire-paper',
        method: 'post',
        data: conditions
    })
}

export function acquirePatent(conditions) {
    return request({
        url: '/admin/acquire-patent',
        method: 'post',
        data: conditions
    })
}

export function acquireCompetition(conditions) {
    return request({
        url: '/admin/acquire-competition',
        method: 'post',
        data: conditions
    })
}

export function acquireSoftwareCopyright(conditions) {
    return request({
        url: '/admin/acquire-software-copyright',
        method: 'post',
        data: conditions
    })
}

export function acquireOther(conditions) {
    return request({
        url: '/admin/acquire-other',
        method: 'post',
        data: conditions
    })
}

// find
// find
// find

export function findPaperDetail(id) {
    return request({
        url: '/admin/find-paper-detail/' + id,
        method: 'get'
    })
}

export function findPatentDetail(id) {
    return request({
        url: '/admin/find-patent-detail/' + id,
        method: 'get'
    })
}

export function findCompetitionDetail(id) {
    return request({
        url: '/admin/find-competition-detail/' + id,
        method: 'get'
    })
}

export function findSoftwareCopyrightDetail(id) {
    return request({
        url: '/admin/find-software-copyright-detail/' + id,
        method: 'get'
    })
}

export function findOtherDetail(id) {
    return request({
        url: '/admin/find-other-detail/' + id,
        method: 'get'
    })
}

// gather
// gather
// gather
export function gatherPaper(conditions) {
    return request({
        url: '/admin/gather-paper',
        method: 'post',
        data: conditions
    })
}

export function gatherPatent(conditions) {
    return request({
        url: '/admin/gather-patent',
        method: 'post',
        data: conditions
    })
}

export function gatherCompetition(conditions) {
    return request({
        url: '/admin/gather-competition',
        method: 'post',
        data: conditions
    })
}

export function gatherSoftwareCopyright(conditions) {
    return request({
        url: '/admin/gather-software-copyright',
        method: 'post',
        data: conditions
    })
}

export function gatherOther(conditions) {
    return request({
        url: '/admin/gather-other',
        method: 'post',
        data: conditions
    })
}

// student
// student
// student
export function submitStudentInformation(studentInformationVO) {
    return request({
        url: '/admin/submit-student-information',
        method: 'post',
        data: studentInformationVO
    })
}

// major
// major
// major
export function addMajorInformation(majorVO) {
    return request({
        url: '/admin/add-major-information',
        method: 'post',
        data: majorVO
    })
}

export function modifyMajorInformation(majorVO) {
    return request({
        url: '/admin/modify-major-information',
        method: 'post',
        data: majorVO
    })
}

export function removeMajorInformation(majorId) {
    return request({
        url: '/admin/remove-major-information/' + majorId,
        method: 'delete',
    })
}

// class
// class
// class
export function addClassInformation(classVO) {
    return request({
        url: '/admin/add-class-information',
        method: 'post',
        data: classVO
    })
}

export function moveClass(moveClassVO) {
    return request({
        url: '/admin/move-class',
        method: 'post',
        data: moveClassVO
    })
}

export function modifyClassInformation(classVO) {
    return request({
        url: '/admin/modify-class-information',
        method: 'post',
        data: classVO
    })
}

export function removeClassInformation(classId) {
    return request({
        url: '/admin/remove-class-information/' + classId,
        method: 'delete',
    })
}

// mentor
// mentor
// mentor
export function addMentorInformation(mentorVO) {
    return request({
        url: '/admin/add-mentor-information',
        method: 'post',
        data: mentorVO
    })
}

export function modifyMentorInformation(mentorVO) {
    return request({
        url: '/admin/modify-mentor-information',
        method: 'post',
        data: mentorVO
    })
}

export function removeMentorInformation(mentorId) {
    return request({
        url: '/admin/remove-mentor-information/' + mentorId,
        method: 'delete',
    })
}
